$(document).ready(function(){
	$("#home").click(function(){
		top.location.href="/_McWeb/";
	});
	$("#infoMenu").click(function(){
		$("#innerFrame").attr("src", "/_McWeb/member/information.jsp");
	});
	$("#orderMenu").click(function(){
		$("#innerFrame").attr("src", "/_McWeb/goodies/order_Goods.jsp");
	});
	$("#cart").click(function(){
		$("#innerFrame").attr("src", "/_McWeb/goodies/cart.jsp");
	});
	$("#introMenu").click(function(){

		//$("#innerFrame").attr("src", "/_McWeb/goodies/payment_Page.jsp");

		//$("#innerFrame").attr("src", "/_McWeb/member/introduce.jsp");
		$("#innerFrame").attr("src", "/_McWeb/order.do?mode=orderList");

	});
	$("#loginId").click(function(){
		$("#innerFrame").attr("src", "/_McWeb/member.do?mode=modifyForm&memId=" + document.getElementById("logInId").value);
	});
	
});

function deleteMemberById(){
	alert('It will be implemented soon');
	document.form.mode.value = 'deleteMemberById';
}